package cn.sytton.taffe.web.flw.service.impl;

import lombok.RequiredArgsConstructor;
import org.camunda.bpm.engine.*;
import org.springframework.stereotype.Service;

/**
 * Camunda
 *
 * @author skyrock
 */
@Service
@RequiredArgsConstructor
public class CamundaService {

    private final RepositoryService repositoryService;

    private final RuntimeService runtimeService;

    private final TaskService taskService;

    private final HistoryService historyService;

    private final IdentityService identityService;

    public RepositoryService repository() {
        return repositoryService;
    }

    public RuntimeService runtime() {
        return runtimeService;
    }

    public TaskService task() {
        return taskService;
    }

    public HistoryService history() {
        return historyService;
    }

    public IdentityService identity() {
        return identityService;
    }
}
